utf8-chars 2.1.0

Char-by-char iterator and `read_char` method for `BufRead`.
Documentation

maintenance: passively maintained

utf8-chars

Char-by-char iterator and read_char method for BufRead.

use std::io::stdin;
use utf8_chars::BufReadCharsExt;

fn main() {
    for c in stdin().lock().chars().map(|x| x.unwrap()) {
        println!("{}", c);
    }
}